package com.weixing.mall.provider.model.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.weixing.mall.core.support.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Small
 * @since 2021-07-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wms_product_stock_details")
public class ProductStockDetails extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 商品ID
     */
    private Long goodsId;

    /**
     * 货品ID
     */
    private Long productId;

    /**
     * 仓库ID
     */
    private Long depotId;

    /**
     * 库位
     */
    private String storehouse;

    /**
     * 库存编码
     */
    private String stockSn;

    private String productSkuDesp;

    /**
     * 库存价格
     */
    private BigDecimal stockPrice;

    /**
     * 货品编码
     */
    private String productSn;

    /**
     * 款号
     */
    private String styleNo;

    /**
     * 序号
     */
    private String stockOrder;

    /**
     * 商品货号
     */
    private String goodsSn;

    private String productImg;

    /**
     * 乐观锁
     */
    @Version
    private Integer revision;

    /**
     * 创建人
     */
    private Long createdBy;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新人
     */
    private Long updatedBy;

    /**
     * 更新时间
     */
    private Date updatedTime;


    private  Integer isLock;

    private String productName;

    /**
     * 市场价格
     */
    private  BigDecimal markerPrice;


}
